package com.ls.blog.mapper;

import com.ls.blog.dto.ResourceDTO;
import com.ls.blog.entity.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lishun
 * @since 2022-01-17
 */
public interface ResourceMapper extends BaseMapper<Resource> {

    /**
     * 获得角色列表
     * @return
     */
    List<ResourceDTO> listResourceDTO();
}
